<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <form action="postParameter" method="post">
        <input type="text" name="studentId">
        <input type="text" name="classId">
        <input type="submit" value="提交">
    </form>
    <!-- 利用ajax发送请求 -->

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.min.js"></script>>
    <script>
        // $.ajax({
        //     type: 'get',
        //     url: 'method',
        //     success: function(body,status) {
        //         console.log(body);
        //     }
        // });
    </script>
    
</body>
</html>